#pragma once
#include "stdafx.h"
struct PrintSetting
{
	int			m_nRows;
	int			m_nCols;

	double		m_dMarginTop;
	double		m_dMarginBottom;
	double		m_dMarginLeft;
	double		m_dMarginRight;

	BOOL		m_bPrintPage;
	int			m_nStartPage;
	BOOL		m_bPrintHeader;
	BOOL		m_bPrintFooter;

	char		m_strHeader[100];
	char		m_strFooter[100];
public:
	PrintSetting();
	~PrintSetting();

	void Init();

	void LoadSetting(CString strFileName);
	void SaveSetting(CString strFileName);
};

